﻿using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPF_StringToDoubleConverter_Demo
{
    public class MainViewModel : ReactiveObject
    {
        [Reactive]
        public double BaseRadius { get; set; }

        [Reactive]
        public double TopRadius { get; set; }

        [Reactive]
        public double Height { get; set; }

        public MainViewModel()
        {
            // 初始化属性值
            BaseRadius = 10.0;
            TopRadius = 20.0;
            Height = 30.0;
        }
    }
}
